package cc.telecomdigital.tdstock.trading.Common;

import cc.telecomdigital.tdstock.R;


public class Trade_AppConstant
{	
	public static final int		EDITBOX_ERROR_ANIMATE_TYPE	= R.anim.shake;
	public static final int		EDITBOX_ERROR_ANIMATE_TIME	= 300;

	
	public static final int       demoHoldTime         		= 700;
	// For advertisement setting
	public static final String	advBannerBundle			= "advBannerStyleBundle";
	public static final String	advIndexPref				= "advIndexPref";
	public static final String	advMaxPref				= "advMaxPref";
	
	//Saving preference file name
	public static final String	_preferenceTable			= "@@prefFile@@";
	public static final String	userNamePref				= "1";
	public static final String	demoUserNamePref			= "0";
	public static final String    versionNamePref               = "2";
	public static final String    userLastLogonPref             = "3";
	public static final String    userLogoutTimeLimitPref       = "4";
	public static final String    tradeSessionKey               = "5";
	public static final String    lastLoginAsDemo               = "6";
	public static final String    lastSeqNo                     = "7";
	
	//Just a random number for key
	public static final String	encryptPairKey				= "_@TD@Securities@_7718567VExett";	

	//For Application internal passing
	public static final String	tradingStateBundle			= "TradingOptionBundle";

	public static final String	stockOrderFilterListIndex	= "StockOrderFilterListIndex";
	public static final String	stockOrderFilterList		= "StockOrderFilterList";

	public static final String	stockOrderRequestInfo		= "StockOrderRequestInfo";
	public static final String    stockViewInfo                 = "StockViewInfo";

	public static final int		maxPasswordLength			= 16;

	public static final int		designschemeWidth			= 320;
	public static final int		designschemeHeight			= 480;

	public static final int		priceValueStringWithDec		= 5;
	public static final int		maxStockCodeEntry			= 5;
	public static final int		maxStockQuantityEntry		= 7;
	public static final int		maxStockQuantityDisplayEntry	= 9;
	public static final int		maxChoiceForQuantity		= 20;
	public static final int		maxChoiceForPriceCeiling		= 21;
	public static final int		maxChoiceForPriceFloor		= 21;
	
	public static final int       popupHeightAboveLoc           = 60;
	public static final int       timeDelayForPopup             = 300;
	public static final int       lightStreamerWaitTime         = 8000;
//	public static final int		backRInAnimation			= R.anim.slide_in_left;
//	public static final int		backROutAnimation			= R.anim.slide_out_right;
//	public static final int		nextRInAnimation			= R.anim.slide_in_right;
//	public static final int		nextROutAnimation			= R.anim.slide_out_left;

	// public static final int backRInAnimation = 0;
	// public static final int backROutAnimation = 0;
	// public static final int nextRInAnimation = 0;
	// public static final int nextROutAnimation = 0;

	public static final int		autoLoadTimeIn				= 0;
}
